package com.example.elderlycare.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.util.Date;

@Data
@Builder
@TableName("retard_records")
public class RetardRecord {
    private Integer id;
    private Date deletedAt;
    private Integer elderId;
    @TableField(exist = false)
    private Elder elder;
    private Date retardDate;
    private String reason;
    private Float evaluation;

    @Tolerate
    RetardRecord() {

    }
}
